/**
 * Created by E002871 on 2/11/14.
 */
function F4VO(data) {
    var key = data['CHATEXT']['TXTSH'];
    var text = data['CHAVL_INT'];
    var result = {'key': key, 'text' : text};
    return result;
}

function F4VOList(rawData) {

    var result = [];

    var f4List = rawData['asx:abap']['asx:values']['F4VALUE']['item'];

    for(var i=0; i < f4List.length; i++)
    {
        result.push( new F4VO(f4List[i]));
    }

    return result;

}